package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Module entity. @author MyEclipse Persistence Tools
 */

public class Module implements java.io.Serializable {

	// Fields

	private Integer moduleId;
	private String moduleName;
	private String displayName;
	private Set groupModules = new HashSet(0);

	// Constructors

	/** default constructor */
	public Module() {
	}

	/** minimal constructor */
	public Module(String moduleName, String displayName) {
		this.moduleName = moduleName;
		this.displayName = displayName;
	}

	/** full constructor */
	public Module(String moduleName, String displayName, Set groupModules) {
		this.moduleName = moduleName;
		this.displayName = displayName;
		this.groupModules = groupModules;
	}

	// Property accessors

	public Integer getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
	}

	public String getModuleName() {
		return this.moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getDisplayName() {
		return this.displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public Set getGroupModules() {
		return this.groupModules;
	}

	public void setGroupModules(Set groupModules) {
		this.groupModules = groupModules;
	}

}